package com.template.auth.mapper;

import com.template.auth.model.RoleGroupResource;
import com.template.auth.model.RoleGroupResourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RoleGroupResourceMapper {
    int countByExample(RoleGroupResourceExample example);

    int deleteByExample(RoleGroupResourceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RoleGroupResource record);

    int insertSelective(RoleGroupResource record);

    List<RoleGroupResource> selectByExample(RoleGroupResourceExample example);

    RoleGroupResource selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RoleGroupResource record, @Param("example") RoleGroupResourceExample example);

    int updateByExample(@Param("record") RoleGroupResource record, @Param("example") RoleGroupResourceExample example);

    int updateByPrimaryKeySelective(RoleGroupResource record);

    int updateByPrimaryKey(RoleGroupResource record);
}